update categories of first post and set permalink config to pretty