add connect open & update document