Save protocol onChange