debugged a few errors. updated form. rerouted update back to index page