added: insertView and updateView