make inserts async