webappsinatra upgrade3