update register

-Register : close page and check file
-chkRegister