Add edit method to jails in the datagrid