update setting class