Modified the db initalziler