update transactions and locks