Updated PM notify to use send_pm function