legend update, added **kwargs