Updating the lock