Begin INSERT/UPDATE distinction
Insert/Update distinction.
Hope it works