code: def update_detail(self, request):
          
          entity = request.context_params[self.detail_property_name]
          updated_entity = self.update_entity(
              request,
              entity, **request.context_params['data'])
          request.context_params[self.updated_property_name] = updated_entity
          return request
docs: :param request: an apiv2 request object
          :return: request if successful with entities set on request