Adding refactoring for Editing a protocol