Check for change value before rendering