update imagePath options.