update view and config