Updated some views and the database