publish when uploading