update structure for theme