add support for update_attributes