Update PRMAPI.php