Update styles for history