updated push notification functions