Updated the width and height for any device