fix upgrade costs not changing