Update styles for animation