Is it possible to mutate with query like in upsert?

The upsert query you used inserts a new predicate value.
You query by type that is why you can’t see the new data.
Do a query without dgraph.type filter and you will see the inserted data.