added explicit selfs to update_attributes