updated API to interact with turnkey's changes