Baby constipation

Hi all. Just switched formulas for my 1mo old and he seems to be constipated...ive done gebtle tummu massages, warm baths, bicycle legs...is there abything else i can do? He is going but its tarry and hard to pass for him.