add download hook.