@PreUpdate
  protected void onUpdate() {
    updateTime = System.currentTimeMillis();
  }
Ensure the update time is set properly when the record is updated.
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UserAuthenticationEntity.java