adding views
editing database