update old tasks, add new