How are Hinduism and the Aryan religion alike?

When Aryans moved towards Ganges valley they start adapting there religion . They begin to change their religion ,they forgot their old gods or they became less important to them so they start accepting some new gods of Hinduism like Brahma ,Vishnu and Siva which were three main chief gods.But Vedas and other holy books remain the basis of their own religion.