Implement inserting submission history.