updated set weights and deltas