def refresh(self, updated_self):

		'''
		method to refresh binary attributes and data

		Args:
			updated_self (Resource): resource this binary data attaches to

		Returns:
			None: updates attributes
		'''

		logger.debug('refreshing binary attributes')
		self.mimetype = updated_self.binary.mimetype
		self.data = updated_self.binary.data
method to refresh binary attributes and data

		Args:
			updated_self (Resource): resource this binary data attaches to

		Returns:
			None: updates attributes