sindhuri pieupdate modified code