Bug fix on resources update check