update class MyBlog