* Fixed bug when updating an entity's name when the new name is too
  large for the database