Made bracket update routine more efficient.