modifying event payload data and adding in css