Update weight data format