Changes to store data into DB