update coapsensor