add update nickName fun