update code to work with changes to verold_api