update db config and blog.py