Update dimensions in style