in process of debugging save and update