creating document on true vault if the document id is nil