update setting and theme