Renew tenancy agreement

One of my tenants is moving out after splitting up with there partner they have been in the property for 3 years do i need to renew the contract or can I leave it running

You can leave it running if you wish and both tenants remain liable for the rent.