updating observer.php