fix update address bug