updating week7 models/middleware/views