updates row logic for responsive