The link below has a example that resolve and helps understant better how use update and join with postgres.
UPDATE productSET net_price = price - price * discountFROMproduct_segmentWHEREproduct.segment_id = product_segment.id;See: http://www.postgresqltutorial.com/postgresql-update-join/