Edit method gets the correct id