Changed db initialization
Changed db initialization