save only modified fields, see #14