update to download script
sync db