update base box size