Upgraded the stock amount changing functionality