upating categories in all posts