updated views with API