fix bug update tree evets