update.php now can read a json file and print out the needed values for an SQL statement