Added boulder update function