update exchange api