update to run with modern capp
update for modern capp