trainer api commit for customUITemplate