updated the directory where images are saved