updated endpoint width and height to use the correct attributes