update python-mode settings