update with destroy method