regenerate lock file