Update objects based on nested objects’ fields

Yeah in Dgraph terminology, that’s an upsert. Unfortunate naming.