update posts by category