update posts's categories