update app.rb can send json success !