adds transaction to update_queue function