updating threejs