adding /plot resetdb