address table wasnt getting updated properly