pub fn thread_update( ctx: Context<'_, '_, '_, '_, ThreadUpdate<'_>>, params: ThreadUpdateParams, ) -> Result<()>