When updating, delete the attributes when the empty string is passed.