If you create the portfolio-post.php file in your template folder and edit it there, you don't have the risk that an update will overwrite it.
As long as you position the file inside the same folder basis as in the plugin you should be fine
e.g. /your-theme-folder/portfolio-post.php