Separating the _set_attributes and _set_supplier from save function