ensure file update