add syn and api task,no test;