Added update func. Save path going to def savepath.
Added update func. Save path going to def savepath.