update protocol spec