Add method to add or edit a stock