Update quaternion rotation