.net updating values issues - C#