Fixed a bug that EF cannot get updated value in the database.