updated theme api