Updated database import to be async when helpful