add sse when new image is uploaded