update downloadcounter query