improving history

color of active
insert events on publish