committing updated stock_quantity code

committing updated stock_quantity code