Updates settings