Two days isn't actually that bad for hydrangeas - they're notoriously thirsty flowers and wilt faster than most. But yeah, if you want them lasting a week, you're missing a few things. The water thing matters, but it's not just about swapping it out daily. Those stems need a fresh cut every couple days, and you want to cut at an angle. More importantly though, hydrangeas specifically drink a ton of water, so make sure your vase is always topped up - they'll absorb an inch or more per day in warm weather.
The trick most people overlook is conditioning the stems before they even hit the vase. When you first cut flowers, especially hydrangeas, soak the bottom few inches in room-temperature water for a couple hours before arranging them. This lets them fully hydrate before they're sitting in a vase competing with all the other stems. It sounds like fussing around, but it genuinely extends their life. Add a bit of flower food if you grab some, but even without it, this conditioning step and keeping that water level up will get you closer to a week.
One more thing - keep the vase away from direct sun and ripening fruit. Both speed up wilting. And when you do change the water, give the vase a quick rinse; bacteria builds up in there and that's what actually kills flowers faster than anything else.