Update consumer.php