update to support alerta api v3