create inventory edit action and view. closes #3