update view box