only execute the update when content-available is set
pass in values that come from push notification
also perform update when app in foreground