update method

bool update()

Implementation

bool update() {
  flags = 1 /* Mutable */;
  if (previousValue != latestValue) {
    previousValue = latestValue;
    return true;
  }

  return false;
}