Updated database init script