Checking before update to ensure state change.