UPDATE Question SET novote=#NewVotes# WHERE questionid='#attributes.questionid#' UPDATE Answer SET Votes=#NewVotes# WHERE answerid IN (#attributes.answerid#)