Add a transaction to the #store_values method