Updated table migration to remove id, and set the key as primary key.
Updated set method to check a setting is set, and update if needed.