update

fun update(currentTime: Instant, value: Double)

Add a new value at currentTime