Update lock.