It is good that you have changed your food habits. just ensure that you don't have difficulty passing stools as that will aggravate your problem. Next I will suggest you to consult a General Surgeon
and get yourself checked up clinically to ascertain the nature and the grade of piles.That will dictate the further course of treatment . if properly treated piles is a completely curable disease.