view update
added tests