update pt timer and change N from int to long