I have added logic to avoid to update publisher fields, if the given value through api is null or empty.