Update to set manager api port correctly.