Religion has two main parts :
1. Philosophy. This do not change with time, because philosophy is truth.
2. Your obligation to the society. This part changes with time.