Leaf.update2

Small changes