update and delete now work