Improvements of the astro-E2 hard X-ray detector (HXD-II)