update js: add action column for edit