Store downloading status to database