added views field to documents model