updates lock file