updated push notifications api