Some stuffs are cached in Godot Engine, so it might not refresh yet. But you can force it to reindex everything:
Close the project Go to your project directory Delete (or move somewhere) your .godot folder Open again, and Godot Engine will reimport and reindex everything