updates for bottlpy refs