update the generate method, add the default scaffold