Handle transactions inside the data store