updated blog.py