LeafJS update