Getting Id to update with the index of my list - C#