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