Update Pythong config file