update to lock