lock file update