Your changes will not be reflected in the reload, as the changes are in the document in memory, but the EDX triggered reload will be based in the document on disk.
You can pass variables into a document during an EDX reload and this would possibly be the way to meet your need. The mechanism will depend on how you are triggering the EDX request. You will find more information by searching this site for EDX,
Logic will get you from a to b. Imagination will take you everywhere. - A Einstein