Adding category page and updating database.