update exercise3