update class choosing before storing in pos set