add Cmd pm and Pub pm