The function now handles user updates/deletions correctly.
Attach a file by drag & drop or click to upload