fixed BlockSparse:updateParameters bug for large updates