ebadpixupdate does not delete any event. It only flags them. Running evselect with #XMMEA_EM or #XMMEA_EP will delete events on bad pixels. Running evselect with FLAG==0 will delete events close to bad pixels as well. Of course any more specific selection may be applied.