add corpus pre and post update events