better clock updating