update verold api script
update code to work with changes to verold_api