def update(self, context): props = self.find_datablock_in_selection(context) if props is not None: props.update(context)