Add regId & remove regId in server finished