modify the api of ntp manager