update animation rotation