Added support for update_attributes