update view and DB models