add pm support
update