update baseconfig add constructor