add a lockfile while updating
cosmetic