update serialing time formula