updated installer to initialize database