change needed infomation when register