add lager and change config