update schema
add a class to manage config