update documentation, update index.php and config