finalizado edit update index and destroy actions