Extract loop through prices

Add a update() method to the scheme, to pass fund prices to. This makes
it possible to get an advice for each price.