save only changed weight