Just to add to that: FeatureLayer automatically tracks changes to its graphics collection, and the attributes and geometry of the individual graphics. If it detects a change, it will automatically get pushed back to the server.
So like Jennifer wrote, all you need to do is:
graphic.Attributes["fieldName"] = myFieldValue;