save assigned port and update help