update gcm error catching