regenerate data with new classes