updating api consumer