update paths.php and web.config