How to update or delete values