inventory commit