Use proper way to update columns
Use proper way to update columns

With `record.update_attributes!`, `save!` is called and may fail because
methods are missing or validations fail. We need to call `save!` only if
the record has not been persisted yet.

Otherwise the column should be changed directly, without invocation of
callbacks or validations.

ontohub/ontohub,ontohub/ontohub,ontohub/ontohub,ontohub/ontohub,ontohub/ontohub,ontohub/ontohub