fixed a bug in the update script where el_has_class never returned