update measurement when not change the value
remains insert new measurement due to id is 0