sinatra app model changed