Deep compare in the isUpdated method