delete and updating views