The updtext.c sample program is used in conjunction with uctext ctlibrary sample. It installs a SRV_LANGUAGE event handler and responds to client commands with an informational message that contains the language command received.
Additionally, the sample also installs a bulk handler that sends a message to the client indicating the text received. This is to demonstrate the updatetext functionality. Since the server can be queried to see if the feature is supported, an rpc_handler is installed. The rpc_handler checks for the sp_mda rpc. This rpc responds to the client with metadata about the server (specifically that partial text update is supported).