Updated for Pancake Version 4

with version 4 of pancake (still in beta) more of the methods are
working