edits to view. in db now