Check for response data before trying to access it

When updating phone number, if the response did not contain the data object it would throw an error