Picamera2 upgrade

can the raspberry pi camera2 be used to upgrade the camera on the picar-x?

The Raspberry Pi V2 camera is compatible with picar-x.
The dimensions of the V1 and V2 cameras are the same, and both use the 15-pin MIPI CSI-2 interface.

Is all the software compatible or will i need to make changes?

thank you for the help.