Update duration when update session