change index download btn implementation