update tree grid