Updating locksmith to version with idempotent key replication mechanism