Fixing updates of progress
Fixing ordering by all updates
Update test to ordering desc.
Fixing query for matrix generation