update max-width