modify md tags and categories