add edit and update logic to passwordresetcontroller