run database initialize code