update image path
update preview image