update prepare_image.sh