removed extraneous parens from inventory system
finished update function in inventory system