HUE-2033 [core] Fixed document update after project or sharing changes