update index.php with proxy option