[GQL] Update tree endpoint

Status Job ID Name Coverage
  Test
canceled #3839
deps

canceled #3840
test