updating panel plot