updates example plot