update the lock file