slight error on updating of the stock list fixed - stock was updating
even if isReceived was not set true.