finish edit, update, index, destroy actions