Saves name/value pairs for settings in sql database