pos update and working on tabwidget