Fix Update Template for empty restricted attributes