Modify structure of skus and add updateItemDetail function in database.