If the query is correct then it might be something else related to the data because there's nothing wrong with the code you posted as far as I can see. Could it be a permissions issue? Your code is getting an Update cursor so is an edit session necessary for the type of data you're going to be editing? Does the feature class participate in a network, topology or something like that? Can you start an edit session on this feature class in ArcMap?