update checkbox elements using sockets