update works when updating primary key when passing table
add widget helper to render widget from html block