Updates settings structure.