modified WalkUpdateFunction declaration, minor changes