Rllib replay buffer

[RLLIB] How can I modify the collected data before it is thrown into the replay buffer? Any help will be appreciated. Thanks a lot.