updating to the last jpc api