finished query api will now start database adding