Upgrade of poloidal and tangential x-ray imaging crystal spectrometers on EAST tokamak