update css animation for background