updating animations