updated the views according to new database