updating image directory with necessary files