many objects set to update the flags at correct place