/**
   * Update of the databaseUser which is specified in parameter
   *
   * @param databaseUser The instance of the DatabaseUser which contains the data to store
   * @param plugin The current plugin using this method
   * @return The instance of the DatabaseUser which has been updated
   */
  public static DatabaseUser update(DatabaseUser databaseUser, Plugin plugin) {
    _dao.store(databaseUser, plugin);
    LuteceUserService.userAttributesChanged(databaseUser.getLogin());

    return databaseUser;
  }