Sir in the present case you can take property in your and your wife name to avoid capital gains.
You can also invest in under construction flat . The time limit is 2 years from the date of transfer. You can pay the advance for the property after sale of old flat and get the possession .