updating to the latest jpc api