changed transactional table layout and saving data