[ArmZabbixAPI] Change the function type of the updateEvents() function.