merges configs