update in twos_complement