Update respondWithRecord.php