Update up.php

Support for new JSON response handler