Update sql config file