- Modified the userHouse query to include 'id' in the attributes, improving data retrieval. - Enhanced transaction handling in state and userHouse updates to ensure atomic operations, preventing potential data inconsistencies.