Have you wondered how to update/insert NULL as value to the existing row in mysql? Too simple:
UPDATE table_name SET field_name = NULL WHERE some_criteria
Watch! there is no any quote on the NULL part, if you do so, it would be inserted/updated as string with value “NULL”