update for max-width change