updating stock manager