Update css animation