update config to portrait