Updated ScriptContextCache to perform partial module updates on changes while with dependency checking