updating port commands