updating edit route to match the requirements in the readme

Signed-off-by: Steve Magelowitz <steven.magelowitz@gmail.com>