add functions from zhongqing and add process, update, userlist files in room