anchor.diff:      {ok, ServiceInfo} = tts_service:get_info(ServiceId),
       Connection = connect_to_service(ServiceInfo),
       {ok, CmdMod} = get_cmd_module(request,ServiceInfo),
  -    create_command_list(CmdMod,UserInfo,Connection,State).
  +    create_command_list_and_update_state(CmdMod,UserInfo,ServiceInfo,Connection,State).
   
       %% ok = close_connection(Connection,ServiceInfo),
       %% send_reply(Result ,State).
  
positive.code:           action = undefined,
            client = undefined,
            service_id = undefined,
            service_info = undefined,
            user_info = undefined,
            token = undefined,
            params = undefined,
  
negative.code:     {error, unknown_cmd_mod}.
  
  
  create_command_list_and_update_state(undefined,_UserInfo, #{con_type := ConType}, _Connection, State) ->
      {ok, State#state{error = no_cmd_mod, con_type = ConType}}; 
  create_command_list_and_update_state(CmdMod, UserInfo, #{con_type := ConType}, {ok, Connection},State) when is_atom(CmdMod) ->
      #{ uid := User,
         uidNumber := Uid, 
         gidNumber := Gid,
  