Refactor editview/data
Refactor editview/index
Refactor editview/params
Refactor db/update method
Update xsql version