update code for distribution protocol object