update box style