changing sm class to md