adjust update_attributes to save. support attr_accessible