The effect of the environment on the Hi scaling relations