made index.php auto update with the latest blog post in the database