Update the lock