update blog to support restful