def METHOD_NAME(self, upl):
    print('alignment before upate '+str(self.map))
    for tup in upl:
        for item in self.map:
            if item[0] == tup[0] and item[1] == tup[1] and tup[2] is not None:
                self.map.append(tup)
                self.map.remove(item)
    print('alignment after upate '+str(self.map))