update trial call to reflect backend refactoring