modify for query transaction from room