pub fn thread_update<'info>(
    ctx: CpiContext<'_, '_, '_, 'info, ThreadUpdate<'info>>,
    settings: ThreadSettings
) -> Result<()>