Updates the time on the UI