Only update facts when resource actually change.