update to new teal api