Function on_duplicate_update renamed to onDuplicateUpdate, Readme file updated