diff --git a/views/reset.pug b/views/reset.pug
index 42d23f06fafbadf7a5229163e107909a5aa0272b..d8f0e76e49851088c2146e9ea4c8572db54c85d0 100644
--- a/views/reset.pug
+++ b/views/reset.pug
@@ -79,12 +79,10 @@ html(lang="en")
                 $('#message').html('Not Matching').css('color', 'red');
                 isMatch = false;
             }
-    
-        // enable/disable update button
-        if (isBest && isMatch) {
-            $('#updateBtn').prop('disabled', false);
-        } else {
-            $('#updateBtn').prop('disabled', true);
-        }
-    });
-
+            // enable/disable update button
+            if (isBest && isMatch) {
+                $('#updateBtn').prop('disabled', false);
+            } else {
+                $('#updateBtn').prop('disabled', true);
+            }
+        });
\ No newline at end of file