They do, but I'd be surprised if they'd have signed new contracts had there been interest from elsewhere, as signing new contracts raises your value and therefore could make you a less-attractive transfer target for clubs.
They'd both had been available for free next summer too, had they not signed new deals. It's a very good sign that they'll be here at the end of the transfer window.