fixed typo.
fixed minor bug introduced by sloppy variable renaming.
flesh out create method and added update method to model.
provided default values for inventory program creation.