Fixed a bug to misjudge 'isUpdated'.