updated star and categories to use join table