updating ports of apimanager