added history action to the cli patch command