updates for orientation