update code (draw save data)