function updateProfileOnRTDB(firebase, profileUpdate) {
  const {
    _: { config, authUid }
  } = firebase
  const profileRef = firebase.database().ref(`${config.userProfile}/${authUid}`)
  return profileRef.update(profileUpdate).then(() => profileRef.once('value'))
}
Update profile data on Firebase Real Time Database
@param {object} firebase - internal firebase object
@param {object} profileUpdate - Updates to profile object
@returns {Promise} Resolves with results of profile get