refreshing templates menu