update db for theme