updated 3d winner and cahe in app.rb