Improve edit, update, index, and destroy