exposed config to data
updated version