update a pinview and change druglineview call in mainwindow