Updated zk lock library