update viewbox