update front-matter for posts