updating stock file