update and rename residual_value to salvage_value