update exchange method