updated the non deprecated call to enable push notifications