Updating document variable's changes (CrimeController.php class)