Added update_attributes