update Pos class