add method to migrate config table