def usermacro_update(hostmacroid, value, **kwargs):
    '''
    Update existing host usermacro.

    :param hostmacroid: id of the host usermacro