add leaves updated