Added refreshViews endpoint