add blog func modified