update locking