update create image preview