Update PROMPT using functions