Added rotation of animation images to update method