Inconsistent query result

I use the uid as reference for updates.
means,
i create new objects without the uid.
but when I want to update, the uid is present in the object.

but it is not part of the dgraph schema.
just the go structs and the corresponding json have it