     @$el = $ '.weather'
     @apikey = 'e35c4324fb7999ba5788fbba8c901d11'
 
-  update: (data) =>
-    @data = data
+  update: (data) ->
+    @data = data ? @data
     @processData()
     if not @initialized and data.displayWeather isnt off
       @loadData()


  updateTemperatureUnits: ->
    @getLocation()
      .then @cacheLocation
      .then @createUrlFromLocation
      .then @getWeather
      .then JSON.parse

      .then thenable @renderCity
      .then thenable @renderForecast
      .then thenable => @initialized = true
      .then @update.bind(this, null)
      .catch (err) =>
        log err
        @showError err
