multifunction: Update params after changing prompt.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>

Apologize for former patch #383 , I missed to update the parameters until having tested it just now. :(