update the bundle and the viws