[124] delete tmp_tasks after use;update db;