Added editBlogEntry function to database module