created data from content
saves data to database