update blog.py to add posts