add download db support