Update w1d4 recursive