 			@data.store[id]['id'] = id
 			@data.store[id]['object'] = data
 			@data.store[id]['version'] = parseInt(version)
+			@_save_entity id
 
 			notify_cb id, data_copy, version
 			@notify_index[id] = true

	start: =>
		console.log "#{@space}: started initialized: #{@initialized} authorized: #{@authorized}"
		@namespace = "#{@username}:#{@space}"
		@started = true
		@first = false
		if not @authorized

		
		# Tracks changes to the pending items in the send_queue.  Used by the `notify_pending` callback.
		@_last_pending = null

		# Timout delay for resending failed change events.
		# The backoff increases with each failure, bounded by min and max.
		@_send_backoff = 15000
		@_backoff_max = 120000
		@_backoff_min = 15000

		@initFromLocalStorage = 0

		console.log "#{@namespace}: bucket created: opts: #{JSON.stringify(@options)}"

	# ### `uuid()`
	# Generate a UUID (not RFC 4122 4.4) using a...
	uuid: (n) ->
		n = n || 8
		s = @S4()
