update the user changeName method;

Signed-off-by: Thomas Chan <chenjunhao5818@gmail.com>