updated from min to max width