update ports to match the diagram in the doc