adding basic inventory feature
updating inventory