update attack range and chart