Army vows to change way it buys weapons