update leaves