updating the lock file