changing sinatra app model