Petitioner name in case of acquisition

My company X got acquired by company Y. In visa appointment what should I enter as petitioner name?

My HR says write as Y (Previously X). Should I write just Y or Y with X in bracket. Will this be fine as my I-797 has company X. This information also comes on the visa.