udpate pony and tree