`update_dictionay` take care of the `None` case