Finish db setup