update Duration to handle large integers