added upkeep costs and updated for resource changes