Update BeamProfile.C