update pathtree UI