update endpoint for form submission
create route for update profile and password