implemented updateUser() in DatabaseManager.java