merge config