animation api update