updated weights size