Added dynamic update to Box class

Signed-off-by: Diwank Singh <diwank.singh@gmail.com>