keep the lock file up to date