1. A method comprising: configuring one or more categories in a hierarchical structure; mapping one or more contents and the one or more categories based on at least one piece of information on the one or more contents and information on the one or more categories; and updating the hierarchical structure of the categories based on a preset condition when content-related information of each category determined according to the mapping meets the preset condition.