Change button text value with api

def set_property(self, pin, prop, *val):
        self._send(MSG_PROPERTY, pin, prop, *val)

Also post about update properties via Python