Update is a asyncronous method. In other words you have to give the server a chance to send a response back.
Instead wait for the myFeatureLayer.UpdateCompleted event to fire before you do the zoom.
I'm guessing you have OnDemand mode enabled?
The doc should mention that this also triggers an update.