Fixed up the code for editing in the StoreController

Generated the code for editing products, added in the needed code that
was not generated.