Changed the CoreData models a little.
Implemented updating inventory actions.