Adding values in metadata in EventUpdcasting

Hallo

we have a scenario were we were storing time and user information with the event. but now we intercepting the command dispatch and injecting this information in the event metadata. we removed the audit information in event revision 1 from version null. we are able to intercept the event and removing the extra fields when upcasting but now we require the information to be put in the event metadata when upcasting.

any assistance appreciated or an alternative way of achieving this.

Regards

managed to figure it out thank you