update portfolio, make page 404 if data not found