update and added a monitor thread