demo routine update