save necessary fields