Fix bug in paths.php file and update core submodule