update according to homework until views