changes to add data in sqlite database