added the edit functionality to the blog category