modify lock file