Cleaning updateLockFile