Server data updating cache

We have an app that allow some offline actions and later synchronize with the server. However when the internet is turned on, the query cache is replaced with the server incoming before synchronized. I would like to have full control when the cache is updated.

I discovered a solution. I can change the query fetchPolicy to cache-first, so it wont execute to the server automatically. And to keep it updated I can make an manual call with useLazyQuery function and then use updateQuery function to update the cache as I want.