Fixed UPDATE handling for subsequent UPDATEs

The transaction test in the previous commit was flawed, as it did not
allow for the TERMINATED state - thus subsequent UPDATEs always received
a 500 response.