Upgrade of the PAX H and D polarized internal target for precision measurements at COSY