Your exception means that between time when you fetched data from database and modified it ,Your data had been changed.
By default, the Entity Framework implements an optimistic concurrency model. This means that locks are not held on data in the data source between when the data is queried and the data is updated. MSDN
how to manage concurrency in an object context.MSDN
Or follow this answer which refreshes context. StackOverflow