Update rotation.