fixes in update_resources in planet.rb
fixes in update_resources in planet.rb