fixed row/col issue in updateUI, no more nested loops