updating exchange source update function