Edit page now edits properly

Although it complains that body-parser is deprecated. Needs looking into