Add cost feature so that now it costs Resource to upgrade