changed defualt threshold
added update marker