Make all database writes asyncronously