updating factories