minor modes udpate