multifunction: Update params after changing prompt.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Merge pull request #403 from yumingfei/multifunction_pattern_update

multifunction: Update params after changing prompt.