update previewImage