update posts tags and categories