Making update before rotate