update exercise4