update spec weights