store data in table