Update code snippet
Change display time from sec to ms