change media table to uploads table