update db initialization