def update_box(self, box):
		'''Updates a box with the provided attributes.
		Args:
			box 	StreakBox object with updated info
			return	(status code, box in dict form)
		'''
		#req sanity check
		payload = None
		if  type(box) is not StreakBox:
			return requests.codes.bad_request, None

		payload = box.to_dict(rw = True)

		try:
			uri = self.box_root_uri + '/' + box.attributes['boxKey']
		except KeyError:
			return requests.codes.bad_request, None
	
		code, data = self._req('post', uri , json.dumps(payload))

		return code, data