Implement insert method for categories