adding event headers on commiting them