upload with metadata cleanups + example