more conneciton work. connections must be saved with the document, on server side