save global config