updated team model