save all attributes