updates and inserts incremental save