Added inventory edit and add.