Update error in response object