update protocol sample