Edit template for sockets use