resize box updated