removed unnecessary update view