adds and edits in inventory folder