regenerating the lock file