config["".join([prefix, key])] = "{0}\n".format(newvalues[key])