add block hash to db rows