Variation in the structural properties of high Tc superconductors due to hydrogen