fixed bug in update registration

happens when push is disabled and there's a blank device token