handle insert/update/delete fields
fix redirect-after-save