update function for the inventory added

removing items from the screen doesm't work yet