Sync db after config file is generated
Merge pull request #34 from maoy/working

Sync db after config file is generated