api setStyle if no name update current style (refs #3891)