Update space for each row