update lock name