Finish edit, update, index and destroy