Issue #2177403 by mikran: Hook_node_update() implementation doesn't reset nid for new components.