"done" flag update