Update observer.php