update mode option