decode update