updated wpm module definition