- test for updating leaf