Updating widths and height