update mintpal exchange api functions