updated port templates and models