Flush on upload