truncate file when recompile
new user infomation update function