update after finish