Update buffer.php