updates for orientation changes