Completed implementation of put route and update page.