update models with B