update Event/Alarm rest api