updated image preview