"Integrity constraint violation: 1062 Duplicate entry" error when updating a node