updating api integration