was cleaning up some code and fixed the Cavy::Page.update_elements function