only update lock file if we modified something, still not feature complete