implemented edit blog post action