add categories relationship between posts and categories