update history settings in shell/switches