updated some protocol related stuff