update classes to show duration correctly