Fixed a syntax error in updateTime