update clock demo