def update_tags_info_with_results(stagns, etagns, results):
    """
        tmp = get_tags_info_from_cmdlines_ltdict(cmds)
        stagns = tmp['stagns']
        etagns = tmp['etagns']
        >>> pobj(stagns)
        {
         0: 0, 
         1: 1, 
         2: 2, 
         3: 5, 
         4: 6, 
         5: 7, 
         6: 9, 
         7: 10, 
         8: 11, 
         9: 12, 
         10: 13, 
         11: 15, 
         12: 19, 
         13: 20, 
         14: 21, 
         15: 24, 
         16: 30
        }
        >>> pobj(etagns)
        {
         0: 33, 
         1: 4, 
         2: 3, 
         3: 32, 
         4: 29, 
         5: 8, 
         6: 28, 
         7: 27, 
         8: 18, 
         9: 17, 
         10: 14, 
         11: 16, 
         12: 26, 
         13: 23, 
         14: 22, 
         15: 25, 
         16: 31
        }
        >>> pobj(results)
        {
         0: 
            {}, 
         1: 
            {}, 
         2: None, 
         3: 
            {}, 
         4: 
            {}, 
         5: None, 
         6: 
            {}, 
         7: 
            {}, 
         8: 
            {}, 
         9: 
            {}, 
         10: None, 
         11: None, 
         12: 
             {}, 
         13: 
             {}, 
         14: 'personal settings', 
         15: None, 
         16: None
        }
        >>> 
        tmp = update_tags_info_with_results(stagns,etagns,results)
        {'stagns': {0: 0, 1: 1, 2: 2, 3: 5, 4: 6, 5: 7, 6: 9, 7: 10, 8: 11, 9: 12, 10: 13, 11: 15, 12: 19, 13: 20, 14: 21, 15: 25, 16: 31}, 'etagns': {0: 34, 1: 4, 2: 3, 3: 33, 4: 30, 5: 8, 6: 29, 7: 28, 8: 18, 9: 17, 10: 14, 11: 16, 12: 27, 13: 24, 14: 23, 15: 26, 16: 32}, 'textns': {0: None, 1: None, 2: None, 3: None, 4: None, 5: None, 6: None, 7: None, 8: None, 9: None, 10: None, 11: None, 12: None, 13: None, 14: 22, 15: None, 16: None}}
        pobj(tmp)
                {
         'stagns': 
                   {
                    0: 0, 
                    1: 1, 
                    2: 2, 
                    3: 5, 
                    4: 6, 
                    5: 7, 
                    6: 9, 
                    7: 10, 
                    8: 11, 
                    9: 12, 
                    10: 13, 
                    11: 15, 
                    12: 19, 
                    13: 20, 
                    14: 21, 
                    15: 25, 
                    16: 31
                   }, 
         'etagns': 
                   {
                    0: 34, 
                    1: 4, 
                    2: 3, 
                    3: 33, 
                    4: 30, 
                    5: 8, 
                    6: 29, 
                    7: 28, 
                    8: 18, 
                    9: 17, 
                    10: 14, 
                    11: 16, 
                    12: 27, 
                    13: 24, 
                    14: 23, 
                    15: 26, 
                    16: 32
                   }, 
         'textns': 
                   {
                    0: None, 
                    1: None, 
                    2: None, 
                    3: None, 
                    4: None, 
                    5: None, 
                    6: None, 
                    7: None, 
                    8: None, 
                    9: None, 
                    10: None, 
                    11: None, 
                    12: None, 
                    13: None, 
                    14: 22, 
                    15: None, 
                    16: None
                   }
        }
    """
    textns = {}
    for i in range(0, results.__len__()):
        if (results[i] == None) | (results[i] == {}):
            textns[i] = None
        else:
            textns[i] = stagns[i] + 1
            label = stagns[i]
            for j in range(0, results.__len__()):
                if stagns[j] > label:
                    stagns[j] = stagns[j] + 1
                if etagns[j] > label:
                    etagns[j] = etagns[j] + 1
    rslt = {}
    rslt['stagns'] = stagns
    rslt['etagns'] = etagns
    rslt['textns'] = textns
    return rslt
