added primaryKey from route in delete method