inventory file update