cannot insert async here without callback as ids are used