GUI update functionality.