call hook after download