update generated dir