USB Host shield attached to arduino mega does not upload the code

I did try updating the drivers. Seems like the mega works fine but the code doesnt upload when the host shield is attached