Updating global DB setup code