edited sendnotifications