udpate duration component to make it better initialize