Fixing an issue with repeated updated.