periodic commit. currently working with purchase orders. create is done, working on index and edit