update blog published logic and update views.