update box model