minor refactor - update_attributes