# Update a VisionPro Display From a Task

Using the following code, you can perform a cross thread call to a Page thread, which could be used to update a VisionPro Display from Tasks.

    System.Windows.Application.Current.Dispatcher.Invoke( () =>
    {
    CogRecordDisplay display = (CogRecordDisplay)$System.GetInternalObject("Pages.Diagnostics.DisplayTrainImage");
    display.DisplayRecord = someOtherRecord;
    });

Note: A random performance penalty will be encountered when making this call.