adds new records into db