edit protocol