updata index.php and create index_old.php