updating watch text in C