Update text
Disconnect unused connections