update directory and add images