added with_transaction to store
added with_transaction_lock