modify ports