update label of a htmlbutton

Anyone can advise on how I can update the label of a button type htmlbutton?

$$("buttonId").define("label", "New label");
$$("buttonId").refresh();