update the event box css