edit protocols type