styling for update event