add the completed flag