Added new and update functionality to product