It looks from your post as if the record already exists - if so, you want to do an update, not an insert.