EPD calibration write EPD gains into the database