updating address and entity