How do local property values affect the ROI of a kitchen or bathroom upgrade?

How do local property values affect the ROI of a kitchen or bathroom upgrade?