Finish init database