Context Update after specific inputs

I’m using OpenAI Agents with three agents that can hand off to each other. There’s also contextual data (e.g., name, age, address) shared between the agents, similar to the customer_service example.

I’ve implemented logic where contextual data updates the shared object when received. However, I want the data to update immediately after the user provides each piece—e.g., when the user says their name, it updates the name field right away.

The problem is: sometimes the updates don’t happen until a handoff occurs (e.g., after the user says the address and control moves to another agent). It seems inconsistent—sometimes fields like age don’t update when they should, but everything updates correctly after a handoff.

Is there a way to ensure that contextual data updates immediately and reliably as each piece is given, without waiting for a handoff?