pub fn handler( ctx: Context<'_, '_, '_, '_, UpdateTask<'_>>, task_args: Task, _trigger_index: u64, _task_index: u8, ) -> Result<()>