[api] update setWatch() API