oops, redeclared update_quantity()