update provider and views