@Transactional
  public SettingEntity merge(SettingEntity entity) {
    return entityManagerProvider.get().merge(entity);
  }
Update setting instance.

@param entity - entity to be updated.
@return - updated entity.
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/SettingDAO.java