def pseudo_update_7(T, b, i):
    """This update works by manipulating indices directly. It is meant to show you what your update should return, and to use for the assert below."""
    index = int(i[2]) + 2*int(i[1]) + 4*int(i[0])
    return T[:index] + b + T[index+1:]