adding userId and uploadType