update Time in gui