update bg animation