How to change Document Reference

I have an document in my flow which refers to the document type in other package, now i create the document type in my own package and how can i do to modify it refer to my own document? Thanks!

Is the document an input or output to you flow service? if so, you can change it by selecting the Document reference property for the input/output…

Otherwise, I am not sure you can without modifying the flow.xml for your flow service which isn’t advisable.

The document is not in input/output.
But i have solved it caused i can create an document reference before that step. That is my misunderstanding. Thanks you also.