model update for returning id in adds