fix bug of updatepaper