edit check quantity