moved enabled config to database