Generic Invoke control for UI updates