update example functions to use correct dir name