update categories on posts