adding edit blog code