add gui updateTime method