set yas-prompt-functions and update variable names