add update api for log monitor