Hi rohmanovich, my first advise to you is never to name a thread "Need help" It's against our posting guidelines. See http://www.codingforums.com/postguide.htm
for the complete list of guidelines.
Now to your question, I'll advise you to remove the error handler so you can see the specific error message that occurs.
In order words, remove these lines
on error resume next
if err<>0 then
response.write("No update permissions!")
response.write("Record " & cid & " was updated!")
By so doing, you'll get the specific error message. Revert back to us with the error message if you're still having problems.