changes to inventory model

Signed-off-by: guymoller <guy.moller@gmail.com>