updating viewport icon