accidentally deleted too much of the update_prices code