update setting script