moved comp data and use life table to sql database