update view and url