update boxes style