track download position through the database