updated model to fix shopping cart registration issues