Updating image directory