know if data changed